import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/view/Home'
import RollList from '@/view/index/RollList'
import BrandList from '@/view/index/BrandList'
import CategoryList from '@/view/index/CategoryList'
import SorterList from '@/view/sort/SorterList'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/rollList',
      name: 'RollList',
      component: RollList
    },
    {
      path: '/brandList',
      name: 'BrandList',
      component: BrandList
    },
    {
      path: '/categoryList',
      name: 'CategoryList',
      component: CategoryList
    },
    {
      path: '/sorterList',
      name: 'SorterList',
      component: SorterList
    }
  ]
})
